package com.lxw.nonghe.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lxw.nonghe.entity.ChronicDiseaseCertificate;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ChronicDiseaseCertificateMapper extends BaseMapper<ChronicDiseaseCertificate> {
    IPage<ChronicDiseaseCertificate> selectChronicDiseaseCertificatePage(Page<ChronicDiseaseCertificate> page, @Param("diseaseName") String diseaseName);

    long getPolicyCount();
}
